<%@page import="com.kzw.oa.model.system.AppUser"%>
<%@page import="com.kzw.oa.service.info.NotificationService"%>
<%@page import="com.kzw.oa.service.system.AppUserService"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page import="com.kzw.core.util.AppUtil"%>
<%@page import="com.kzw.core.util.ContextUtil"%>
<%
	//登录成功后，需要把该用户显示至在线用户
	AppUtil.addOnlineUser(request.getSession().getId(), ContextUtil.getCurrentUser());
	AppUserService appUserService=(AppUserService)AppUtil.getBean("appUserService");
	String path = request.getContextPath();
	String base = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
	<head>
		<base href="<%=base%>">
		<title><%=AppUtil.getCompanyName()%></title>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<!--[if lt IE 9]>
		   <style type="text/css">
		   .div.x-mask {
		       background-color: rgb(41, 41, 41) !important;
		       filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#b2000000,endColorstr=#b2000000);
		    }
		    </style>
		<![endif]-->
		
   	 	<script>
    		var __ctxPath = "<%=request.getContextPath() %>";
    		var userInfo = "<%=appUserService.getCurUserInfo()%>";
    		var principal = '<security:authentication property="principal.fullname"/>（<security:authentication property="principal.depNames"/>）';
    	</script>
    	<script type="text/javascript">
    		function go() {
    			window.location.href="/htmls/register.html";
    		}
    	</script>
	</head>

	<body onload="go()">
		
	</body>
</html>
